package com.jk.dmhomeprovider.dao;

import com.jk.dmcommon.wlentity.CityEntity;
import com.jk.dmcommon.wlentity.GoodsDetailEntity;
import com.jk.dmcommon.wlentity.SwiperEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 文件名称:HomeDao
 *
 * @Description //TODO
 * @Date 2021/9/8 13:59
 * 作者 王乐
 * Copyright (c) 2021,  All Rights Reserved.</pre>
 */
@Repository
public interface HomeDao {
    //首页各类商品查询
    List<GoodsDetailEntity> getHomeGoods(GoodsDetailEntity goods);
    //查询轮播图
    List<SwiperEntity> getSwiper();
    //获取城市
    List<CityEntity> getCity();
    //热门城市回显
    List<CityEntity> hotCity();
    //选中替换
    CityEntity obtainCity(Integer cityid);
    //加城市热度
    void addCityHot(Integer cityid);
}
